package hcn.protocol.ods.checkAppointment.xml;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * 检查预约项目查询XML出参
 *
 * @author neoLin - 2023/01/13 15:39
 */
@XmlRootElement(name = "Data")
public class QueryAppointItemXmlResponse {

    private List<Item> items;

    @XmlElementWrapper(name = "Items")
    @XmlElement(name = "Item")
    public List<Item> getItems() {
        return items;
    }

    public void setItems(List<Item> items) {
        this.items = items;
    }

    @XmlRootElement(name = "Item")
    public static class Item {

        /**
         * 患者姓名
         */
        private String name;
        /**
         * 患者年龄
         */
        private String age;
        /**
         * 患者性别
         */
        private String sex;
        /**
         * 患者类型
         */
        private String patientType;
        /**
         * 病人号码
         */
        private String patientNumber;
        /**
         * 检查申请单号
         */
        private String requestId;
        /**
         * 检查项目代码
         */
        private String itemCode;
        /**
         * 检查项目名称
         */
        private String itemName;
        /**
         * 预约标志
         */
        private String isAppointment;
        /**
         * 预约记录流水号
         */
        private String appointsId;
        /**
         * 预约时间
         */
        private String appointsDateTime;
        /**
         * The Operating date time.
         */
        private String operatingDateTime;
        /**
         * 检查时间段
         */
        private String timePeriod;
        /**
         * 预约执行机构
         */
        private String appointsOrganization;
        /**
         * 预约机构名称
         */
        private String appointmentHospitalName;
        /**
         * 预约执行科室
         */
        private String appointsDept;
        /**
         * 预约执行科室名称
         */
        private String appointsDeptName;
        /**
         * 预约队列
         */
        private String appointsQueue;
        /**
         * 预约队列名称
         */
        private String appointsQueueName;
        /**
         * 预约顺序号
         */
        private String appointsNo;
        /**
         * 检查地址
         */
        private String appointAddress;
        /**
         * 注意事项
         */
        private String appointAttention;
        /**
         * 是否空腹
         */
        private String emptyStomach;
        /**
         * 是否憋尿
         */
        private String holdUrine;
        /**
         * 紧急标志
         */
        private int isEmergency;
        /**
         * 计费状态
         */
        private String feeStatus;
        /**
         * 检查号
         */
        private String examCode;
        /**
         * 打印次数
         */
        private String printCount;
        /**
         * 执行标志0.未执行/待执行1.已执行
         */
        private int executionSign;
        /**
         * 床号
         */
        private String bedNumber;
        /**
         * 住院科室名称
         */
        private String departmentName;

        @XmlElement(name = "Name")
        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @XmlElement(name = "Age")
        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }

        @XmlElement(name = "Sex")
        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        @XmlElement(name = "PatientType")
        public String getPatientType() {
            return patientType;
        }

        public void setPatientType(String patientType) {
            this.patientType = patientType;
        }

        @XmlElement(name = "PatientNumber")
        public String getPatientNumber() {
            return patientNumber;
        }

        public void setPatientNumber(String patientNumber) {
            this.patientNumber = patientNumber;
        }

        @XmlElement(name = "RequestId")
        public String getRequestId() {
            return requestId;
        }

        public void setRequestId(String requestId) {
            this.requestId = requestId;
        }

        @XmlElement(name = "ItemCode")
        public String getItemCode() {
            return itemCode;
        }

        public void setItemCode(String itemCode) {
            this.itemCode = itemCode;
        }

        @XmlElement(name = "ItemName")
        public String getItemName() {
            return itemName;
        }

        public void setItemName(String itemName) {
            this.itemName = itemName;
        }

        @XmlElement(name = "IsAppointment")
        public String getIsAppointment() {
            return isAppointment;
        }

        public void setIsAppointment(String isAppointment) {
            this.isAppointment = isAppointment;
        }

        @XmlElement(name = "AppointsId")
        public String getAppointsId() {
            return appointsId;
        }

        public void setAppointsId(String appointsId) {
            this.appointsId = appointsId;
        }

        @XmlElement(name = "AppointsDateTime")
        public String getAppointsDateTime() {
            return appointsDateTime;
        }

        public void setAppointsDateTime(String appointsDateTime) {
            this.appointsDateTime = appointsDateTime;
        }

        @XmlElement(name = "OperatingDateTime")
        public String getOperatingDateTime() {
            return operatingDateTime;
        }

        public void setOperatingDateTime(String operatingDateTime) {
            this.operatingDateTime = operatingDateTime;
        }

        @XmlElement(name = "TimePeriod")
        public String getTimePeriod() {
            return timePeriod;
        }

        public void setTimePeriod(String timePeriod) {
            this.timePeriod = timePeriod;
        }

        @XmlElement(name = "AppointsOrganization")
        public String getAppointsOrganization() {
            return appointsOrganization;
        }

        public void setAppointsOrganization(String appointsOrganization) {
            this.appointsOrganization = appointsOrganization;
        }

        @XmlElement(name = "AppointmentHospitalName")
        public String getAppointmentHospitalName() {
            return appointmentHospitalName;
        }

        public void setAppointmentHospitalName(String appointmentHospitalName) {
            this.appointmentHospitalName = appointmentHospitalName;
        }

        @XmlElement(name = "AppointsDept")
        public String getAppointsDept() {
            return appointsDept;
        }

        public void setAppointsDept(String appointsDept) {
            this.appointsDept = appointsDept;
        }

        @XmlElement(name = "AppointsDeptName")
        public String getAppointsDeptName() {
            return appointsDeptName;
        }

        public void setAppointsDeptName(String appointsDeptName) {
            this.appointsDeptName = appointsDeptName;
        }

        @XmlElement(name = "AppointsQueue")
        public String getAppointsQueue() {
            return appointsQueue;
        }

        public void setAppointsQueue(String appointsQueue) {
            this.appointsQueue = appointsQueue;
        }

        @XmlElement(name = "AppointsQueueName")
        public String getAppointsQueueName() {
            return appointsQueueName;
        }

        public void setAppointsQueueName(String appointsQueueName) {
            this.appointsQueueName = appointsQueueName;
        }

        @XmlElement(name = "AppointsNo")
        public String getAppointsNo() {
            return appointsNo;
        }

        public void setAppointsNo(String appointsNo) {
            this.appointsNo = appointsNo;
        }

        @XmlElement(name = "AppointAddress")
        public String getAppointAddress() {
            return appointAddress;
        }

        public void setAppointAddress(String appointAddress) {
            this.appointAddress = appointAddress;
        }

        @XmlElement(name = "AppointAttention")
        public String getAppointAttention() {
            return appointAttention;
        }

        public void setAppointAttention(String appointAttention) {
            this.appointAttention = appointAttention;
        }

        @XmlElement(name = "EmptyStomach")
        public String getEmptyStomach() {
            return emptyStomach;
        }

        public void setEmptyStomach(String emptyStomach) {
            this.emptyStomach = emptyStomach;
        }

        @XmlElement(name = "HoldUrine")
        public String getHoldUrine() {
            return holdUrine;
        }

        public void setHoldUrine(String holdUrine) {
            this.holdUrine = holdUrine;
        }

        @XmlElement(name = "IsEmergency")
        public int getIsEmergency() {
            return isEmergency;
        }

        public void setIsEmergency(int isEmergency) {
            this.isEmergency = isEmergency;
        }

        @XmlElement(name = "FeeStatus")
        public String getFeeStatus() {
            return feeStatus;
        }

        public void setFeeStatus(String feeStatus) {
            this.feeStatus = feeStatus;
        }

        @XmlElement(name = "ExamCode")
        public String getExamCode() {
            return examCode;
        }

        public void setExamCode(String examCode) {
            this.examCode = examCode;
        }

        @XmlElement(name = "PrintCount")
        public String getPrintCount() {
            return printCount;
        }

        public void setPrintCount(String printCount) {
            this.printCount = printCount;
        }

        @XmlElement(name = "ExecutionSign")
        public int getExecutionSign() {
            return executionSign;
        }

        public void setExecutionSign(int executionSign) {
            this.executionSign = executionSign;
        }

        @XmlElement(name = "BedNumber")
        public String getBedNumber() {
            return bedNumber;
        }

        public void setBedNumber(String bedNumber) {
            this.bedNumber = bedNumber;
        }

        @XmlElement(name = "DepartmentName")
        public String getDepartmentName() {
            return departmentName;
        }

        public void setDepartmentName(String departmentName) {
            this.departmentName = departmentName;
        }
    }
}
